﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using Scap.Info;
using Scap.Core;

namespace Scap.Manager
{
    public partial class ShellForm : Form
    {
        public ShellForm()
        {
            InitializeComponent();
        }

        private void toolStripMenuItem1_Click(object sender, EventArgs e)
        {

        }

        private void saveToolStripButton_Click(object sender, EventArgs e)
        {
            BindingSource bs = this.dataGridView1.DataSource as BindingSource;
            UserCollection uColl = bs.List as UserCollection;
            UserHandler uHandler = new UserHandler();
            uHandler.Save(uColl);
        }
    }
}
